﻿@model List<mytechblog.Article>

@{var category = (mytechblog.ArticleCategories)ViewBag.category;}

@{
	ViewBag.Title = "Category: " + category.Title;
}

<h2>Category: @category.Title</h2>
@if (Model != null && Model.Count > 0)
{
	<hr />
	<br />
	foreach (var article in Model)
	{ 
		@Html.Partial("ArticlePreview", article)
	}
}

